<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?php echo $this->_tpl_vars['softtitle'] ?></title>
<link href="templates/css/baselist.css" rel="stylesheet" type="text/css" />
<link href="templates/css/all.css" rel="stylesheet" type="text/css" />
<link href="templates/css/clickmenu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/form.js"></script>
<script type="text/javascript" src="js/control.js"></script>
<script type="text/javascript" src="../public/tinyMCE/jquery.tinymce.js"></script>
<script type="text/javascript" src="js/dialog.js"></script>
<script type="text/javascript" src="js/colorpicker.js"></script>
<script type="text/javascript" src="js/initedit.js"></script>
<script type="text/javascript">
	var resizewindow= null;
	window.onresize = function(){
		var h = $(window).height();
		if(resizewindow!=h){
			sizewindow();
			resizewindow=h;
		}
	}
	function sizewindow(){
		var h = $(window).height();
		if(document.getElementById("mainbodybottonauto")){
			$('.managebottonadd').css({height:h-77});
		}
	}
	var article_js_noselect_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_noselect_empty'] ?>";
	var article_doc_add_tid  = "<?php echo $this->_tpl_vars['ST']['article_doc_add_tid'] ?>";
	var article_js_tsn_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_tsn_empty'] ?>";
	var article_js_title_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_title_empty'] ?>";
	var article_js_bprice_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_bprice_empty'] ?>";
	var article_js_oprice_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_oprice_empty'] ?>";
	var article_js_content_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_content_empty'] ?>";
	var article_js_link_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_link_empty'] ?>";
	var article_js_modelistime_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_modelistime_empty'] ?>";
	var article_js_widthhieht_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_widthhieht_empty'] ?>";
	var article_js_template_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_template_empty'] ?>";
	var article_js_filename_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_filename_empty'] ?>";
	var article_js_linkdid_empty  = "<?php echo $this->_tpl_vars['ST']['article_js_linkdid_empty'] ?>";
	var article_js_doc_add_ok = "<?php echo $this->_tpl_vars['ST']['article_js_doc_add_ok'] ?>";
	var article_js_doc_add_ok2 = "<?php echo $this->_tpl_vars['ST']['article_js_doc_add_ok2'] ?>";
	var article_js_doc_add_no = "<?php echo $this->_tpl_vars['ST']['article_js_doc_add_no'] ?>";
	var refalse = "<?php echo $this->_tpl_vars['refalse'] ?>";
	var imagestitle="<?php echo $this->_tpl_vars['ST']['filemanage_select_title'] ?>";
	var addbottonname="<?php echo $this->_tpl_vars['ST']['selectfile_botton'] ?>";
	var remimages="<?php echo $this->_tpl_vars['ST']['remimages_botton'] ?>";
	var adminurl = "<?php echo $this->_tpl_vars['adminurl'] ?>";
	var iframename = "<?php echo $this->_tpl_vars['iframename'] ?>" ? "jerichotabiframe_0" : "<?php echo $this->_tpl_vars['iframename'] ?>";
	iframename = iframename=='' ? "jerichotabiframe_0" : iframename;
	$(document).ready(function(){$('#color').EasySiteColorSelect();var h=$(window).height();$('.managebottonadd').css({height:h-77});var options={beforeSubmit:formverify,success:saveResponse,resetForm:true};$('#docadd').submit(function(){$(this).ajaxSubmit(options);return false})})
	function formverify(formData,jqForm,options){for(var i=0;i<formData.length;i++){if(formData[i].name=="content"){formData[i].value=tinyMCE.get('content').getContent()}}var queryString=$.param(formData);var get=urlarray(queryString);if(get['tid']==0){windowsclass('#tabbottonul1','#tabcontentdiv1','tabbottonul','tabcontentdiv',1,6,'tabbottonulclick','tabbottonulover');document.docadd.tid.focus();alert(article_doc_add_tid+article_js_noselect_empty);return false}if(get['modelistsn']==1){if(get['tsn']==''){windowsclass('#tabbottonul1','#tabcontentdiv1','tabbottonul','tabcontentdiv',1,6,'tabbottonulclick','tabbottonulover');document.docadd.tsn.focus();alert(article_js_tsn_empty);return false}}if(get['title']==''){windowsclass('#tabbottonul1','#tabcontentdiv1','tabbottonul','tabcontentdiv',1,6,'tabbottonulclick','tabbottonulover');document.docadd.title.focus();alert(article_js_title_empty);return false}if(get['islink']==1){if(get['link'].match(/^http:\/\/[a-zA-Z.0-9-%&?=/_]+$/ig)==null){windowsclass('#tabbottonul1','#tabcontentdiv1','tabbottonul','tabcontentdiv',1,6,'tabbottonulclick','tabbottonulover');document.docadd.link.focus();alert(article_js_link_empty);return false}}else{if(get['content']==''&&get['modeliscontent']==1){windowsclass('#tabbottonul2','#tabcontentdiv2','tabbottonul','tabcontentdiv',2,6,'tabbottonulclick','tabbottonulover');alert(article_js_content_empty);return false}}if(get['modelisorder']==1){if(get['isorder']==1){if(get['bprice'].match(/^[0-9.]*$/ig)==null){windowsclass('#tabbottonul3','#tabcontentdiv3','tabbottonul','tabcontentdiv',3,6,'tabbottonulclick','tabbottonulover');document.docadd.bprice.focus();alert(article_js_bprice_empty);return false}}if(get['bprice']!=''){windowsclass('#tabbottonul3','#tabcontentdiv3','tabbottonul','tabcontentdiv',3,6,'tabbottonulclick','tabbottonulover');if(get['bprice'].match(/^[0-9.]*$/ig)==null){document.docadd.bprice.focus();alert(article_js_bprice_empty);return false}}if(get['oprice']!=''){if(get['oprice'].match(/^[0-9.]*$/ig)==null){windowsclass('#tabbottonul3','#tabcontentdiv3','tabbottonul','tabcontentdiv',3,6,'tabbottonulclick','tabbottonulover');document.docadd.oprice.focus();alert(article_js_oprice_empty);return false}}}if(get['modelistime']==1){if(get['other%5Bistime%5D']==1){if(get['other%5Bstartime%5D'].match(/^[1-9][0-9]{3}\-[0-9]{2}\-[0-9]{2}$/ig)==null||get['other%5Bendtime%5D'].match(/^[1-9][0-9]{3}\-[0-9]{2}\-[0-9]{2}$/ig)==null){windowsclass('#tabbottonul4','#tabcontentdiv4','tabbottonul','tabcontentdiv',4,6,'tabbottonulclick','tabbottonulover');alert(article_js_modelistime_empty);return false}}if(get['other%5Bstartime%5D']!=''||get['other%5Bendtime%5D']!=''){if(get['other%5Bstartime%5D'].match(/^[1-9][0-9]{3}\-[0-9]{2}\-[0-9]{2}$/ig)==null||get['other%5Bendtime%5D'].match(/^[1-9][0-9]{3}\-[0-9]{2}\-[0-9]{2}$/ig)==null){windowsclass('#tabbottonul4','#tabcontentdiv4','tabbottonul','tabcontentdiv',4,6,'tabbottonulclick','tabbottonulover');alert(article_js_modelistime_empty);return false}}if(get['other%5Bwidth%5D']!=''||get['other%5Bheight%5D']!=''){if(get['other%5Bwidth%5D'].match(/^[0-9]+$/ig)==null||get['other%5Bheight%5D'].match(/^[0-9]+$/ig)==null){windowsclass('#tabbottonul4','#tabcontentdiv4','tabbottonul','tabcontentdiv',4,6,'tabbottonulclick','tabbottonulover');alert(article_js_widthhieht_empty);return false}}}if(get['istemplates']==1){if(get['template'].match(/^[\w-]+$/ig)==null){windowsclass('#tabbottonul6','#tabcontentdiv6','tabbottonul','tabcontentdiv',6,6,'tabbottonulclick','tabbottonulover');document.docadd.template.focus();alert(article_js_template_empty);return false}}if(get['filename']!=''){if(get['filename'].match(/^[\w-]+$/ig)==null){windowsclass('#tabbottonul6','#tabcontentdiv6','tabbottonul','tabcontentdiv',6,6,'tabbottonulclick','tabbottonulover');document.docadd.filename.focus();alert(article_js_filename_empty);return false}}if(get['linkdid']!=''){if(get['linkdid'].match(/^[0-9,]+$/ig)==null){windowsclass('#tabbottonul6','#tabcontentdiv6','tabbottonul','tabcontentdiv',6,6,'tabbottonulclick','tabbottonulover');document.docadd.linkdid.focus();alert(article_js_linkdid_empty);return false}}parent.windowsdig('Loading','iframe:index.php?archive=management&action=load','400px','180px','iframe',false)}function saveResponse(options){parent.closeifram();if(options=='true'){if(parent.frames[iframename].document.getElementById("articleselectform")){parent.frames[iframename].refresh('articleselectform','articleselectall','articlecheck_all')}if(refalse!='1'){alert(article_js_doc_add_ok)}else{alert(article_js_doc_add_ok2)}}else{alert(article_js_doc_add_no+'Return message:'+options)}if(refalse!='1'){parent.onaletdoc()}else{var repicbotton='<li id="addsrc_pic1"><a title="'+addbottonname+'" onclick="javascript:parent.windowsdig(\''+imagestitle+'\',\'iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=function&fileinputid=pic1&iframename=\'+self.frameElement.getAttribute(\'name\'),\'900px\',\'480px\',\'iframe\')" href="#body"><img src="templates/images/pic.png" width="100" height="100"></a></li>';var reinput='<input type="hidden" name="pic[]" id="pic1" size="40" maxlength="50" class="infoInput"/>';$('#addpiclist').empty().append(repicbotton);$('#picinputlist').empty().append(reinput);$('input:[name="picid"]').val(1);$('input:[name="picidhow"]').val(1)}}function fnupdate(linkdid){var inputvalue=$(":input[name=\"linkdid\"]").val();var newval=inputvalue+linkdid;$(":input[name=\"linkdid\"]").val(newval)}function updatekeywords(linkdid,inputname){var inputvalue=$(":input[name=\""+inputname+"\"]").val();var newval=inputvalue+linkdid;$(":input[name=\""+inputname+"\"]").val(newval)}
</script>
</head>

<body>
<div id="mainlistbotton">
	<ul id="tabbottonul">
		<li class="fisttablist"></li>
		<li class="tabbottonulclick" id="tabbottonul1" onmousedown="javascript:windowsclass('#tabbottonul1','#tabcontentdiv1','tabbottonul','tabcontentdiv',1,6,'tabbottonulclick','tabbottonulover');"><?php echo $this->_tpl_vars['ST']['article_doc_tab_title01'] ?></li>
		<?php if($this->_tpl_vars['modelview']['iscontent']==1){ ?>
		<li class="tabbottonulover" id="tabbottonul2" onmousedown="javascript:windowsclass('#tabbottonul2','#tabcontentdiv2','tabbottonul','tabcontentdiv',2,6,'tabbottonulclick','tabbottonulover');"><?php echo $this->_tpl_vars['ST']['article_doc_tab_title02'] ?></li>
		<?php } ?>
		<?php if($this->_tpl_vars['modelview']['isorder']==1){ ?>
		<li class="tabbottonulover" id="tabbottonul3" onmousedown="javascript:windowsclass('#tabbottonul3','#tabcontentdiv3','tabbottonul','tabcontentdiv',3,6,'tabbottonulclick','tabbottonulover');"><?php echo $this->_tpl_vars['ST']['article_doc_tab_title03'] ?></li>
		<?php } ?>
		<?php if($this->_tpl_vars['modelview']['istime']==1){ ?>
		<li class="tabbottonulover" id="tabbottonul4" onmousedown="javascript:windowsclass('#tabbottonul4','#tabcontentdiv4','tabbottonul','tabcontentdiv',4,6,'tabbottonulclick','tabbottonulover');"><?php echo $this->_tpl_vars['ST']['article_doc_tab_title04'] ?></li>
		<?php } ?>
		<?php if(count($this->_tpl_vars['attrread'])>0){ ?>
		<li class="tabbottonulover" id="tabbottonul5" onmousedown="javascript:windowsclass('#tabbottonul5','#tabcontentdiv5','tabbottonul','tabcontentdiv',5,6,'tabbottonulclick','tabbottonulover');"><?php echo $this->_tpl_vars['ST']['article_doc_tab_title06'] ?></li>
		<?php } ?>
		<li class="tabbottonulover" id="tabbottonul6" onmousedown="javascript:windowsclass('#tabbottonul6','#tabcontentdiv6','tabbottonul','tabcontentdiv',6,6,'tabbottonulclick','tabbottonulover');"><?php echo $this->_tpl_vars['ST']['article_doc_tab_title05'] ?></li>
	</ul>
</div>
<form name="docadd" id="docadd" method="post" action="index.php?archive=article&action=docsave">
	<input type="hidden" name="inputclass" value="add">
	<input type="hidden" name="tab" id="docaddtab" value="<?php echo $this->_tpl_vars['tab'] ?>">
	<input type="hidden" name="mid" id="mid" value="<?php echo $this->_tpl_vars['mid'] ?>">
	<input type="hidden" name="lng" id="lng" value="<?php echo $this->_tpl_vars['lng'] ?>">
	<input type="hidden" name="modelisorder" id="modelisorder" value="<?php echo $this->_tpl_vars['modelview']['isorder'] ?>">
	<div id="mainbodybottonauto" class="managebottonadd">
		<div class="maindobycontent">
			<!--查看已选择的类型-->
			<div id="tabcontentdiv1" class="displaytrue">
				<div class="sugtitle">
					<span class="sugtitleicon"><span class="strong colorgorning2"><?php echo $this->_tpl_vars['ST']['article_doc_add_typeinfotext'] ?></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv">
					<table border="0" width="100%">
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_tid'] ?></td>
							<td width="85%" class="trtitle02">
								<select size="1" name="tid" id="tid">
									<option selected="selected" value="0"><?php echo $this->_tpl_vars['ST']['article_doc_add_tid_option'] ?></option>
									<?php if (count($this->_tpl_vars['typelist'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['typelist']); $list++){?>
									<option <?php echo $this->_tpl_vars['typelist'][$list]['selected'] ?> value="<?php echo $this->_tpl_vars['typelist'][$list]['tid'] ?>"><?php echo $this->treelist($this->_tpl_vars['typelist'][$list]['level'],'&nbsp;&nbsp;&nbsp;') ?>├─ <?php echo $this->_tpl_vars['typelist'][$list]['typename'] ?></option>
									<?php }} ?>
								</select>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_extid'] ?></td>
							<td width="85%" class="trtitle02">
								<select size="3" name="extid[]" id="extid" multiple="multiple">
									<optgroup label="<?php echo $this->_tpl_vars['ST']['article_doc_add_extid_option'] ?>">
									<?php if (count($this->_tpl_vars['typelist'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['typelist']); $list++){?>
									<option value="<?php echo $this->_tpl_vars['typelist'][$list]['tid'] ?>"><?php echo $this->treelist($this->_tpl_vars['typelist'][$list]['level'],'&nbsp;&nbsp;&nbsp;') ?>├─ <?php echo $this->_tpl_vars['typelist'][$list]['typename'] ?></option>
									<?php }} ?>
									</optgroup>
								</select>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_sid'] ?></td>
							<td width="85%" class="trtitle02">
								<select size="1" name="sid" id="sid">
									<option selected="selected" value="0"><?php echo $this->_tpl_vars['ST']['article_doc_add_sid_option'] ?></option>
									<?php if (count($this->_tpl_vars['subjectlistarray'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['subjectlistarray']); $list++){?>
									<option value="<?php echo $this->_tpl_vars['subjectlistarray'][$list]['sid'] ?>"><?php echo $this->_tpl_vars['subjectlistarray'][$list]['subjectname'] ?></option>
									<?php }} ?>
								</select>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_fgid'] ?></td>
							<td width="85%" class="trtitle02">
								<select size="1" name="fgid" id="fgid">
									<option selected="selected" value="0"><?php echo $this->_tpl_vars['ST']['article_doc_add_fgid_option'] ?></option>
									<?php if (count($this->_tpl_vars['formarray'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['formarray']); $list++){?>
									<option value="<?php echo $this->_tpl_vars['formarray'][$list]['fgid'] ?>"><?php echo $this->_tpl_vars['formarray'][$list]['formgroupname'] ?></option>
									<?php }} ?>
								</select>
								<span class="cautiontitle" id="dirnameerr"><?php echo $this->_tpl_vars['ST']['article_doc_add_fgid_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_purview'] ?></td>
							<td width="85%" class="trtitle02">
								<select size="1" name="purview" id="purview">
									<option selected="selected" value="0"><?php echo $this->_tpl_vars['ST']['article_doc_add_purview_option'] ?></option>
									<?php if (count($this->_tpl_vars['memberpuvlist'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['memberpuvlist']); $list++){?>
									<option value="<?php echo $this->_tpl_vars['memberpuvlist'][$list]['mcid'] ?>"><?php echo $this->_tpl_vars['memberpuvlist'][$list]['rankname'] ?></option>
									<?php }} ?>
								</select>
							</td>
						</tr>
					</table>
				</div>
				<div class="sugtitle">
					<span class="sugtitleicon"><span class="strong colorgorning2"><?php echo $this->_tpl_vars['ST']['article_doc_add_titletext'] ?></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv">
					<table border="0" width="100%">
					<?php if($this->_tpl_vars['modelview']['istsn']==1){ ?>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_tsn'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="tsn" size="25" maxlength="20" value="<?php echo $this->_tpl_vars['tsn'] ?>" id="tsn" class="infoInput"/>
								<span class="cautiontitle" id="dirnameerr"><?php echo $this->_tpl_vars['ST']['article_doc_add_tsn_mess'] ?></span>
							</td>
						</tr>
					<?php } ?>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_title'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="title" size="60" id="title" maxlength="180" class="infoInput"/>
								<input id="color" name="color" value="<?php echo $this->_tpl_vars['defaultinput']['input_color'] ?>"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_title_mess'] ?></span>
							</td>
						</tr>
					<?php if($this->_tpl_vars['modelview']['islongtitle']==1){ ?>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_longtitle'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="longtitle" size="60"id="longtitle"  maxlength="180" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_longtitle_mess'] ?></span>
							</td>
						</tr>
					<?php } ?>
					<?php if($this->_tpl_vars['modelview']['isauthor']==1){ ?>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_author'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="author" size="20" maxlength="20" id="author" value="<?php echo $this->_tpl_vars['defaultinput']['input_author'] ?>" class="infoInput"/>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_source'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="source" size="20" maxlength="30" id="source" value="<?php echo $this->_tpl_vars['defaultinput']['input_source'] ?>" class="infoInput"/>
							</td>
						</tr>
					<?php } ?>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_addtime'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="addtime" size="20" maxlength="30" id="addtime" value="<?php echo $this->timeformat($this->_tpl_vars['nowtime'],3) ?>" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_addtime_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_click'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="click" size="5" maxlength="5" id="click" value="0" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_click_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_islink'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="radio" value="1" name="islink" onclick="ondisplay('islinkdiv','trstyle2 displaytrue')" /> <?php echo $this->_tpl_vars['ST']['open_botton_title'] ?>&nbsp;
								<input type="radio" value="0" name="islink" onclick="ondisplay('islinkdiv','trstyle2 displaynone')"checked="checked"/> <?php echo $this->_tpl_vars['ST']['close_botton_title'] ?>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_islink_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2 displaynone" id="islinkdiv">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_link'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="link" size="50" maxlength="230" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_link_mess'] ?></span>
							</td>
						</tr>
						<?php if($this->_tpl_vars['modelview']['ishtml']==1){ ?>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_ishtml'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="radio" value="1" name="ishtml" checked="checked"/> <?php echo $this->_tpl_vars['ST']['article_doc_add_ishtml_1'] ?>&nbsp;
								<input type="radio" value="0" name="ishtml"/> <?php echo $this->_tpl_vars['ST']['article_doc_add_ishtml_0'] ?>
							</td>
						</tr>
						<?php } ?>
						<?php if(count($this->_tpl_vars['doclabel'])>0){ ?>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_recommend'] ?></td>
							<td width="85%" class="trtitle02" style="line-height: 200%">
							<?php if (count($this->_tpl_vars['doclabel'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['doclabel']); $list++){?>
								<input type="checkbox" value="<?php echo $this->_tpl_vars['doclabel'][$list]['dlid'] ?>" name="recommend[]"/> <?php echo $this->_tpl_vars['doclabel'][$list]['labelname'] ?>&nbsp;
								<?php if($divid_list==5){ ?><br><?php $divid_list=0;}$divid_list++;?>
							<?php }} ?>
							</td>
						</tr>
						<?php } ?>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_pic'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="showpic" id="showpic" size="30" maxlength="50" class="infoInput"/>
								<a class="filecheck" onclick="javascript:parent.windowsdig('<?php echo $this->_tpl_vars['ST']['filemanage_select_title'] ?>','iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=input&fileinputid=showpic&iframename='+self.frameElement.getAttribute('name'),'900px','480px','iframe')" href="#body"><?php echo $this->_tpl_vars['ST']['selectfile_botton'] ?></a>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_pic_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_piclist'] ?></td>
							<td width="85%" class="trtitle02">
								<ul class="addpiclist" id="addpiclist">
									<li id="addsrc_pic1"><a title="<?php echo $this->_tpl_vars['ST']['selectfile_botton'] ?>" onclick="javascript:parent.windowsdig('<?php echo $this->_tpl_vars['ST']['filemanage_select_title'] ?>','iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=function&fileinputid=pic1&iframename='+self.frameElement.getAttribute('name'),'900px','480px','iframe')" href="#body"><img src="templates/images/pic.png" width="100" height="100"></a></li>
								</ul>
								<span id="picinputlist">
									<input type="hidden" name="pic[]" id="pic1" size="40" maxlength="50" class="infoInput"/>
								</span>
								<!--计算图片序列ID-->
								<input type="hidden" name="picid" id="picid" value="1"/>
								<!--计算图片总数量-->
								<input type="hidden" name="picidhow" id="picidhow" value="1"/>
							</td>
						</tr>
					</table>
				</div>
			</div>
			<?php /* 内容 */ ?>
			<?php if($this->_tpl_vars['modelview']['iscontent']==1){ ?>
			<div id="tabcontentdiv2" class="displaynone">
				<div class="sugtitle">
					<span class="sugtitleicon"><span class="strong colorgorning2"><?php echo $this->_tpl_vars['ST']['article_doc_add_contenttext'] ?></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv">
					<table border="0" width="100%">
						<tr><td><textarea name="content" id="content" class="smallInput"></textarea></td></tr>
					</table>
				</div>
			</div>
			<?php } ?>
			<?php /* 价格 */ ?>
			<?php if($this->_tpl_vars['modelview']['isorder']==1){ ?>
			<div id="tabcontentdiv3" class="displaynone">
				<div class="sugtitle">
					<span class="sugtitleicon"><span class="strong colorgorning2"><?php echo $this->_tpl_vars['ST']['article_doc_add_orderpricetext'] ?></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv">
					<table border="0" width="100%">
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_isorder'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="radio" value="1" name="isorder" checked="checked"/> <?php echo $this->_tpl_vars['ST']['open_botton_title'] ?>&nbsp;
								<input type="radio" value="0" name="isorder"/> <?php echo $this->_tpl_vars['ST']['close_botton_title'] ?>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_isorder_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_oprice'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="oprice" size="15" value="0" maxlength="15" class="infoInput"/>
								<span class="cautiontitle" id="dirnameerr"><?php echo $this->_tpl_vars['ST']['article_doc_add_oprice_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_bprice'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="bprice" size="15" value="0" maxlength="15" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_oprice_mess'] ?></span>
							</td>
						</tr>
					</table>
				</div>
			</div>
			<?php } ?>
			<?php if($this->_tpl_vars['modelview']['istime']==1){ ?>
			<div id="tabcontentdiv4" class="displaynone">
			<?php /* 时间限制 */ ?>
				<div class="sugtitle">
					<span class="sugtitleicon"><span class="strong colorgorning2"><?php echo $this->_tpl_vars['ST']['article_doc_add_timetext'] ?></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv">
					<table border="0" width="100%">
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_islike'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="radio" value="1" name="other[istime]" checked="checked"/> <?php echo $this->_tpl_vars['ST']['open_botton_title'] ?>&nbsp;
								<input type="radio" value="0" name="other[istime]"/> <?php echo $this->_tpl_vars['ST']['close_botton_title'] ?>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_islike_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_filetype'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="radio" value="1" name="other[filetype]" checked="checked"/> <?php echo $this->_tpl_vars['ST']['article_doc_add_filetype1'] ?>&nbsp;
								<input type="radio" value="2" name="other[filetype]"/> <?php echo $this->_tpl_vars['ST']['article_doc_add_filetype2'] ?>
								<input type="radio" value="3" name="other[filetype]"/> <?php echo $this->_tpl_vars['ST']['article_doc_add_filetype3'] ?>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_startime'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="other[startime]" size="20" maxlength="15" value="<?php echo $this->_tpl_vars['startime'] ?>" class="infoInput"/>
								<span class="cautiontitle" id="dirnameerr"><?php echo $this->_tpl_vars['ST']['article_doc_add_time_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_endtime'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="other[endtime]" size="20" maxlength="15" value="<?php echo $this->_tpl_vars['endtime'] ?>" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_time_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_width'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="other[width]" size="10" maxlength="4" value="0" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_widthheight_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_height'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="other[height]" size="10" maxlength="4" value="0" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_widthheight_mess'] ?></span>
							</td>
						</tr>
					</table>
				</div>
			</div>
			<?php } ?>
			<?php if(count($this->_tpl_vars['attrread'])>0){ ?>
			<div id="tabcontentdiv5" class="displaynone">
			<?php /* 自定义表单 */ ?>
				<div class="sugtitle">
					<span class="sugtitleicon"><span class="strong colorgorning2"><?php echo $this->_tpl_vars['ST']['article_doc_add_customtext'] ?></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv">
					<table border="0" width="100%">
					<?php if (count($this->_tpl_vars['attrread'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['attrread']); $i++){?>
						<tr class="trstyle2">
							<td class="trtitle01" width="15%"><?php echo $this->_tpl_vars['attrread'][$i]['typename'] ?></td>
							<td class="trtitle02" width="85%">
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='string'){ ?><input type="text" name="modelatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" maxlength="<?php echo $this->_tpl_vars['attrread'][$i]['attrlenther'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/><?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='int'){ ?><input type="text" name="modelatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" maxlength="<?php echo $this->_tpl_vars['attrread'][$i]['attrlenther'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/><?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='datetime'){ ?>
								<input type="text" id="dataselect" name="modelatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
							<?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='img'){ ?>
								<input type="text" name="modelatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" id="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
								<a class="filecheck" onclick="javascript:parent.windowsdig('<?php echo $this->_tpl_vars['ST']['filemanage_select_title'] ?>','iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=input&fileinputid=<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>&iframename='+self.frameElement.getAttribute('name'),'900px','480px','iframe')" href="#body"><?php echo $this->_tpl_vars['ST']['selectfile_botton'] ?></a>
							<?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='addon'){ ?>
								<input type="text" name="modelatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" id="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
								<a class="filecheck" onclick="javascript:parent.windowsdig('<?php echo $this->_tpl_vars['ST']['filemanage_select_title'] ?>','iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=input&fileinputid=<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>&iframename='+self.frameElement.getAttribute('name'),'900px','480px','iframe')" href="#body"><?php echo $this->_tpl_vars['ST']['selectfile_botton'] ?></a>
							<?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='text' || $this->_tpl_vars['attrread'][$i]['inputtype']=='htmltext'){ ?><textarea name="modelatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" cols="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" rows="<?php echo $this->_tpl_vars['attrread'][$i]['attrrow'] ?>" class="infoInput"><?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?></textarea><?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='select'){ ?>
								<select size="1" name="modelatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]">
								<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
									<option <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>selected="selected" <?php } ?>value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>"><?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?></option>
								<?php }} ?>
								</select>
							<?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='radio'){ ?>
								<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
								<input <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>checked="checked" <?php } ?>name="modelatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" type="radio" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>" /> <?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>
								<?php }} ?>
							<?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='checkbox'){ ?>
								<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
									<input <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>checked="checked" <?php } ?>name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>[]" type="checkbox" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>" /> <?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>
								<?php }} ?>
							<?php } ?>
							<?php if($this->_tpl_vars['attrread'][$i]['typeremark']!=''){ ?><span class="cautiontitle"><?php echo $this->_tpl_vars['attrread'][$i]['typeremark'] ?></span><?php } ?>
							</td>
						</tr>
					<?php }} ?>
					</table>
				</div>
			</div>
			<?php } ?>
			<div id="tabcontentdiv6"  class="displaynone">
				<div class="sugtitle">
					<span class="sugtitleicon"><span class="strong colorgorning2"><?php echo $this->_tpl_vars['ST']['article_doc_add_seotext'] ?></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv">
					<table border="0" width="100%">
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_tags'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="tags" size="50" maxlength="100" class="infoInput"/>
								<a class="filecheck" href="#body" onclick="javascript:parent.windowsdig('<?php echo $this->_tpl_vars['ST']['selectkeyword_botton'] ?>','iframe:index.php?archive=seomanage&action=listtab&inputtext=tags&lng=<?php echo $this->_tpl_vars['view']['lng'] ?>&listfunction=keywordlist&iframename='+self.frameElement.getAttribute('name'),'650px','380px','iframe');"><?php echo $this->_tpl_vars['ST']['selectkeyword_botton'] ?></a>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_tags_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_keywords'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="keywords" size="50" maxlength="80" class="infoInput"/>
								<a class="filecheck" href="#body" onclick="javascript:parent.windowsdig('<?php echo $this->_tpl_vars['ST']['selectkeyword_botton'] ?>','iframe:index.php?archive=seomanage&action=listtab&inputtext=keywords&lng=<?php echo $this->_tpl_vars['view']['lng'] ?>&listfunction=keywordlist&iframename='+self.frameElement.getAttribute('name'),'650px','380px','iframe');"><?php echo $this->_tpl_vars['ST']['selectkeyword_botton'] ?></a>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_keywords_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"></td>
							<td width="85%" class="trtitle02">
								<select size="1" name="ktid" id="ktid" onchange="javascript:updatekeywords(this.value,'keywords')">
									<option selected="selected" value="0"><?php echo $this->_tpl_vars['ST']['article_doc_add_ktid_option'] ?></option>
									<?php if (count($this->_tpl_vars['keyarray'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['keyarray']); $list++){?>
									<option value="<?php echo $this->_tpl_vars['keyarray'][$list]['keyworklist'] ?>"><?php echo $this->_tpl_vars['keyarray'][$list]['keytypename'] ?>(<?php echo $this->cutstr($this->_tpl_vars['keyarray'][$list]['keyworklist'],25) ?>)</option>
									<?php }} ?>
								</select>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_description'] ?></td>
							<td width="85%" class="trtitle02">
								<textarea name="description" id="description"  style="width:98%;height:50px;" class="smallInput"></textarea>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"></td>
							<td width="85%" class="trtitle02">
								<select size="1" name="ktid" id="ktid" onchange="javascript:updatekeywords(this.value,'description')">
									<option selected="selected" value=""><?php echo $this->_tpl_vars['ST']['article_doc_add_ktid_option2'] ?></option>
									<?php if (count($this->_tpl_vars['keyarray'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['keyarray']); $list++){?>
									<option value="<?php echo $this->_tpl_vars['keyarray'][$list]['description'] ?>"><?php echo $this->_tpl_vars['keyarray'][$list]['keytypename'] ?>(<?php echo $this->cutstr($this->_tpl_vars['keyarray'][$list]['description'],35) ?>)</option>
									<?php }} ?>
								</select>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_istemplates'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="radio" value="1" name="istemplates" onclick="ondisplay('istemplatesdiv','trstyle2 displaytrue')"/> <?php echo $this->_tpl_vars['ST']['open_botton_title'] ?>&nbsp;
								<input type="radio" value="0" name="istemplates" onclick="ondisplay('istemplatesdiv','trstyle2 displaynone')" checked="checked"/> <?php echo $this->_tpl_vars['ST']['close_botton_title'] ?>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_istemplates_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2 displaynone" id="istemplatesdiv">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_template'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="template" id="templatename" size="20" maxlength="20" class="infoInput"/>
								<a class="filecheck" href="#body" onclick="javascript:parent.windowsdig('<?php echo $this->_tpl_vars['ST']['selecttempfile_botton'] ?>','iframe:index.php?archive=templatemain&action=listtab&inputtext=templatename&listfunction=templatestab&lng=<?php echo $this->_tpl_vars['lng'] ?>&typeclass=article&fileclass=read&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),'650px','380px','iframe');"><?php echo $this->_tpl_vars['ST']['selecttempfile_botton'] ?></a>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_template_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_filename'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="filename" size="20" maxlength="20" class="infoInput"/>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_filename_mess'] ?></span>
							</td>
						</tr>
						<tr class="trstyle2">
							<td width="15%" class="trtitle01"><?php echo $this->_tpl_vars['ST']['article_doc_add_linkdid'] ?></td>
							<td width="85%" class="trtitle02">
								<input type="text" name="linkdid" id="linkdid" size="35" maxlength="50" class="infoInput"/>
								<a class="filecheck" href="#body" onclick="javascript:parent.windowsdig('<?php echo $this->_tpl_vars['ST']['article_doc_add_linkdid'] ?>','iframe:index.php?archive=ordermain&action=searchdoc&inputtext=linkdid&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),'650px','380px','iframe');"><?php echo $this->_tpl_vars['ST']['selectlinkdid_botton'] ?></a>
								<span class="cautiontitle"><?php echo $this->_tpl_vars['ST']['article_doc_add_linkdid_mess'] ?></span>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</div>
	</div>
	<div id="downbotton">
		<div id="subbotton">
			<table border="0" width="100%">
				<tr>
					<td id="right"><input type="submit" id="docaddsubmitbotton" name="Submit" value="<?php echo $this->_tpl_vars['ST']['botton_add'] ?>" class="buttonface" /></td>
					<td id="left" class="padding-left5"><input type="button" name="cancel" onClick="javascript:parent.onaletdoc();" value="<?php echo $this->_tpl_vars['ST']['botton_add_reset'] ?>" class="buttonface" /></td>
				</tr>
			</table>
		</div>
	</div>
	<input type="hidden" name="modelistime" id="modelistime" value="<?php echo $this->_tpl_vars['modelview']['istime'] ?>">
	<input type="hidden" name="modelislongtitle" id="modelislongtitle" value="<?php echo $this->_tpl_vars['modelview']['islongtitle'] ?>">
	<input type="hidden" name="modelistsn" id="modelistsn" value="<?php echo $this->_tpl_vars['modelview']['istsn'] ?>">
	<input type="hidden" name="modelisauthor" id="modelisauthor" value="<?php echo $this->_tpl_vars['modelview']['isauthor'] ?>">
	<input type="hidden" name="modeliscontent" id="modeliscontent" value="<?php echo $this->_tpl_vars['modelview']['iscontent'] ?>">
</form>
</body>

</html>


